// Fill out your copyright notice in the Description page of Project Settings.


#include "Core/EnemyZDCharacter.h"

void AEnemyZDCharacter::BeginPlay()
{
	Super::BeginPlay();
}

void AEnemyZDCharacter::SetNextLocation(const FVector& NewLocation)
{
	NextLocation = NewLocation;
}

FVector AEnemyZDCharacter::GetNextLocation() const
{
	return NextLocation;
}

void AEnemyZDCharacter::OnTakeDamage(float Damage, AActor* Attacker)
{
	UE_LOG(LogTemp, Warning, TEXT("%s 攻击 %s ：%f"), *Attacker->GetName(), *GetName(), Damage)
}

void AEnemyZDCharacter::OnSelectWasAttack()
{
	UE_LOG(LogTemp, Warning, TEXT("%s 被选择为攻击目标"), *GetName())
}


